<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<HandleErrorInfo>" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Sorry, there was a problem!</title>
    <meta name="ROBOTS" content="NOINDEX,NOFOLLOW" />
</head>
<body>
    <p>
        There was a <b>
            <%= Html.Encode(Model.Exception.GetType().Name) %></b> while rendering <b>
                <%= Html.Encode(Model.ControllerName) %></b>'s <b>
                    <%= Html.Encode(Model.ActionName) %></b> action.
    </p>
    <p>
        The exception message is: <b>
            <%= Html.Encode(Model.Exception.Message) %></b>
    </p>
    <p>
        Stack trace:</p>
    <pre><%= Html.Encode(Model.Exception.StackTrace) %></pre>
</body>
</html>
